<table  class="table table-striped table-bordered table-hover" width="100%">
	   <thead>
			<tr>
				 <th><?php echo __('Season.Season_time');?></th>
				 <th><?php echo __('Address');?></th>
				 <th>详细<?php echo __('Address');?></th>
				 <th><?php echo __('Season.Lecturer_id');?></th>
				 <th><?php echo __('Season.Subject_id');?></th>
				 <th><?php echo __('Desc');?></th>
			     <th><?php echo __('Operate');?></th>
			</tr>
	   </thead>
	   <tbody>
	   <?php if(!empty($WeekInfo[$key])){?>
			<?php foreach($WeekInfo[$key] as $k=>$v){?>
					<tr>
						<td><?php echo $v['season_time'];?></td>
						<td><?php echo $v['province_text'],' ',$v['city_text'],' ',$v['area_text'];?></td>
					    <td><?php echo $v['address'];?></td>
						<td><?php echo !empty($v['lecturer_id']) ? TableField('Lecturer','name',$v['lecturer_id']) : '-';?></td>
						<td><?php echo !empty($v['subject_id']) ? TableField('Subject','name',$v['subject_id']) : '-';?></td>
						<td><?php echo $v['desc'];?></td>
						<td >
							<?php if(isset($vo['edit'])){ ?>
								<a href="javascript:;" class="btn btn-primary btn-xs" onclick="edit(<?php echo $v['id'];?>,'<?php echo $key;?>')" title="修改"><i class="fa fa-edit"></i>&nbsp;修改</a>
							<?php }?>
							<?php if(isset($vo['delete'])){ ?>
								<a href="javascript:;" onclick="del(<?php echo $v['id'];?>,'<?php echo $key;?>')" title="删除" class="btn btn-danger btn-xs"><i class="fa fa-remove"></i>&nbsp;删除</a>
							<?php }?>
						</td>
					</tr>
			 <?php }?>
		 <?php }?>
	   </tbody>
	
</table>